/*
* @Author: dengjiayao
* @Date:   2017-04-26 14:07:36
* @Last Modified by:   dengjiayao
* @Last Modified time: 2017-04-26 14:13:02
*/
export default (Vue) => {
  Vue.filter('AIAnswerType', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 1:
        return '股票'
        break
      case 2:
        return '存股宝'
        break
      case 3:
        return '组合'
        break
      case 4:
        return '迷你组合'
        break
      case 5:
        return '主题'
        break
      case 6:
        return '聚源资讯'
        break
      case 7:
        return '文章资讯'
        break
      case 8:
        return '用户'
        break
      case 9:
        return '问题'
        break
      case 10:
        return '帮助文档'
        break
      case 21:
        return '股票公告'
        break
      case 22:
        return '股票研报'
        break
      case 23:
        return '股票资讯'
        break
      default:
        return '其他'
    }
  /*eslint-enable*/
  })
}
